﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;

namespace bomberbide
{
    class ExtraBomb : powerup
    {
        public ExtraBomb(ContentManager Content)
        {
            this.Texture = Content.Load<Texture2D>("sprite/powerups/extrabomb");
        }

        public override void Modif(bomber Bomber, GameTime gameTime)
        {
            if (Bomber.MaxBombe < 10)
                Bomber.MaxBombe++;

            base.Modif(Bomber, gameTime);
        }
    }
}
